package com.zjj.mybatis.service;

import java.util.List;

import com.zjj.mybatis.bean.User;

public interface UserService {

	List<User> queryUserList();
	
	User queryUserById(int id);
	
	boolean addUser(String name, int age);
	
	boolean addUserEntity(User user);
	
	boolean updateUser(String name, int age, int id);
	
	boolean deleteUser(int id);
}
